#!/usr/bin/env bash

llvm_project_dir=/Users/vi/git/tarball/llvm-project-11.0.0

mkdir $llvm_project_dir/build
cd $llvm_project_dir/build

cmake -DLLVM_ENABLE_PROJECTS="clang;libc;libclc;libcxx;libcxxabi;libunwind;lld;lldb;mlir;openmp;parallel;polly;pstl;flang" \
    -G "Unix Makefiles" \
    ../llvm \
    -DCMAKE_INSTALL_PREFIX=/usr/local/opt/llvm_11






